from api.ihrm_login_api import IhirLogin

def login_token():
    json_data = {"mobile": "13800000002", "password": "123456"}
    resp = IhirLogin.login(requests_json=json_data)
    return  resp.json().get('data')
if __name__ == '__main__':
    print(login_token())